﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Orders
{
    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderStatus : int
    {
        /// <summary>
        /// 已取消
        /// </summary>
        [Description("已取消")]
        Cancel = -1,
        /// <summary>
        /// 未提交
        /// </summary>
        [Description("未提交")]
        Init = 0,
        /// <summary>
        /// 待付款
        /// </summary>
        [Description("待付款")]
        WaitPay = 1,
        /// <summary>
        /// 已付款
        /// </summary>
        [Description("已付款")]
        Paid = 2,
        /// <summary>
        /// 已成团
        /// </summary>
        [Description("已成团")]
        Group = 3,
        /// <summary>
        /// 已发货/已备货
        /// </summary>
        [Description("已发货/已备货")]
        Sent = 4,
        /// <summary>
        /// 已收货/已提货
        /// </summary>
        [Description("已收货/已提货")]
        Successed = 5,
        /// <summary>
        /// 已评价
        /// </summary>
        [Description("已评价")]
        Appraised = 6,
        /// <summary>
        /// 已失效
        /// </summary>
        [Description("已失效")]
        Invalidation = 7,
    }

    public enum OrderWaitStatus : int
    {
        /// <summary>
        /// 待付款
        /// </summary>
        [Description("待付款")]
        WaitPay = 1,
        /// <summary>
        /// 待成团
        /// </summary>
        [Description("待成团")]
        WaitGroup = 2,
        /// <summary>
        /// 待发货
        /// </summary>
        [Description("待发货")]
        WaitSend = 3,
        /// <summary>
        /// 待收货
        /// </summary>
        [Description("待收货")]
        WaitGet = 4,
        /// <summary>
        /// 待提货
        /// </summary>
        [Description("待提货")]
        WaitLift = 5,
        /// <summary>
        /// 待评价
        /// </summary>
        [Description("待评价")]
        WaitAppraise = 6,
        /// <summary>
        /// 团购已失效
        /// </summary>
        [Description("团购已失效")]
        Invalidation = 7,
    }
}
